package cn.wolfcode.luowowo.query;


import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelQuery extends  QueryObject{
    private String destId;  //目的地id
    private Integer dayType = -1;//出行天数
    private Integer orderType = 1 ;//排序,最热或者最新
    private Integer perExpendType = -1;//人均花费

    public  TypeMap getDay(){
        return TypeMap.DATE_MAP.get(dayType);
    }


    public  TypeMap getPer(){
        return TypeMap.PERCOST_MAP.get(perExpendType);
    }
}
